#ifndef FLASH_H_
#define FLASH_H_
#include "system.h"

#define FlashAddress    ((u32)0x08004000)//??????(??flash????????0x08036000??)
#define SECTOR_SIZE 1024
#define FLASH_SIZE 128
 

void FLASH_WriteMoreData(uint32_t startAddress,uint16_t *writeData,uint16_t countToWrite);
uint16_t FLASH_ReadHalfWord(uint32_t address);
void write_to_flash(void);
void read_from_flash(void);
	
#endif


